package com.ruoyi.jiaopei.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 学员业务对象 tb_student
 *
 * @author macy
 * @date 2024-04-03
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TbStudentBo extends BaseEntity {

    /**
     * ID
     */
    @NotNull(message = "ID不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 姓名
     */
    @NotBlank(message = "姓名不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 学生电话
     */
//    @NotBlank(message = "学生电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String tel;

    /**
     * 生日
     */
//    @NotBlank(message = "生日不能为空", groups = { AddGroup.class, EditGroup.class })
    private String birthday;

    /**
     * 家长
     */
    @NotBlank(message = "家长不能为空", groups = { AddGroup.class, EditGroup.class })
    private String parents;

    /**
     * 家长电话
     */
    @NotBlank(message = "家长电话不能为空", groups = { AddGroup.class, EditGroup.class })
    private String parentsTel;

    /**
     * 住址
     */
//    @NotBlank(message = "住址不能为空", groups = { AddGroup.class, EditGroup.class })
    private String address;
    /**
     * 备注
     */
    private String remarks;

    /**
     * 创建时间
     */
    @NotNull(message = "创建时间不能为空", groups = { EditGroup.class })
    private Date createdDate;

    /**
     * 归属老师
     */
    @NotNull(message = "老师不能为空", groups = { EditGroup.class })
    private Long teacherId;

    /**
     * 意向
     */
    private String intention;



    /**
     * 课程ID
     */
    private Long curriculumId;


    private String curriculumName;
    /**
     * 班级ID
     */
    private Long classId;

    /**
     * 老师
     */
    private String teacherName;


    /**
     * 销售
     */
    private String salesName;

    /**
     * 销售
     */
    private Long salesId;


    /**
     * 课程学员
     */
    private TbCurriculumStudentBo curriculumStudentBo;


    /**
     * 开始日期
     */
    private String date1;
    /**
     * 结束日期
     */
    private String date2;

}
